Use the SAML below as a template for unencrypted SAML v2.0 integrations with Selerix BenSelect, or click here for an example of an encrypted SAML message. Actual XML may differ depending on requirements dictated by the use case. Because you are acting as the identity provider, begin the SAML messaging with a SAML response [samlp:Response] and not an authentication request [samlp:AuthnRequest].
<samlp:Response ID="dc7625f4-34b5-445b-80a8-fb82736958d5" Version="2.0" IssueInstant="2017-03-29T18:37:04Z"
Destination="https://benselect.com/Enroll/Login.aspx?path=BES"
xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol">
<saml:Issuer
xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">BenefitEnrollmentServices
</saml:Issuer>
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
<SignedInfo>
<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" />
<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
<Reference URI="#dc7625f4-34b5-445b-80a8-fb82736958d5">
<Transforms>
<Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" />
<Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
<InclusiveNamespaces PrefixList="#default samlp saml ds xs xsi"
xmlns="http://www.w3.org/2001/10/xml-exc-c14n#" />
</Transform>
</Transforms>
<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<DigestValue>HRwpFkr0fXsutvKjtccTTMgOfro=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>Z3guGHKpnQqNDz+Gr5dB1MSiml6kA/XlUoVXGkfr4+Xl1xd5eEdNNciSWEE3cRUA7FhB9Vg96SVT2skskyB4PUSLk3I50rnz8OMhfk+fZ789Iv2Z6dG9vXk40I/xAh9zHAOaEs01rZKJsvk/pkx2UjHI0531rAe17VnZeFg9CLE=</SignatureValue>
<KeyInfo>
<X509Data>
<X509Certificate>MIIFSjCCBDKgAwIBAgIRAOeKzOuXpJC6fOyrXo9hDAAwDQYJKoZIhvcNAQEFBQAwYjELMAkGA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S9OZXR3b3JrU29sdXRpb25zX0NBLmNybDA3oDWgM4YxaHR0cDovL2NybDIubmV0c29sc3NsLmNvbS9OZXR3b3JrU29sdXRpb25zX0NBLmNybDBzBggrBgEFBQcBAQRnMGUwPAYIKwYBBQUHMAKGMGh0dHA6Ly93d3cubmV0c29sc3NsLmNvbS9OZXR3b3JrU29sdXRpb25zX0NBLmNydDAlBggrBgEFBQcwAYYZaHR0cDovL29jc3AubmV0c29sc3NsLmNvbTAjBgNVHREEHDAaghh3d3cubXliZW5lZml0Y2hvaWNlcy5jb20wDQYJKoZIhvcNAQEFBQADggEBAIexaq/s8Yaqdy8rU1A6HwSuFTh+iYVrnmOnQf9rgO91rKglXAyL7G6o4IzESP1txOrGGDu6H+6kQOPbKKLLw+VHDD0gLayOkVr57BV+7KL7CuhG0s/hDP+25AFNGv1Q5ZbERqFzQgLQ9KQ9s9pjpPqZlKMA8oeZzwGIh8JYe1CYdf5G84e0y1SKzQkJ62Y+ajjxVb5hZMddyE3dYj5om0k411CDHtIOfFZFTsHbKhtt9cRY5e4Ub6Nc0dtTXW4YNbP3TR+Xrpv9qqa3s37gBx+rp1IOyU5h/tGjGr/lo60gXGfuhA+puykpH9YY/oqmr1cjOyWsync12MZgUJ49O/Y=</X509Certificate>
</X509Data>
</KeyInfo>
</Signature>
<samlp:Status>
<samlp:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Success" />
</samlp:Status>
<saml:Assertion Version="2.0" ID="dafcd9b9-a583-4d71-bfba-e5f6d902b45b" IssueInstant="2017-03-29T18:37:04Z"
xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">
<saml:Issuer>BenefitEnrollmentServices</saml:Issuer>
<saml:Subject>
<saml:NameID>010449</saml:NameID>
<saml:SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer">
<saml:SubjectConfirmationData NotOnOrAfter="2017-03-29T19:37:04Z" Recipient="https://benselect.com/Enroll/Login.aspx?path=BES" />
</saml:SubjectConfirmation>
</saml:Subject>
<saml:Conditions NotBefore="2017-03-29T17:37:04Z" NotOnOrAfter="2017-03-29T19:37:04Z">
<saml:AudienceRestriction>
<saml:Audience>Selerix</saml:Audience>
</saml:AudienceRestriction>
</saml:Conditions>
<saml:AuthnStatement AuthnInstant="2017-03-29T18:37:04Z">
<saml:AuthnContext>
<saml:AuthnContextClassRef>
urn:oasis:names:tc:SAML:2.0:ac:classes:unspecified
</saml:AuthnContextClassRef>
</saml:AuthnContext>
</saml:AuthnStatement>
<saml:AttributeStatement>
<saml:Attribute Name="Transmittal" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic">
<saml:AttributeValue>
<?xml version="1.0" encoding="utf-8"?>
<Transmittal
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Agents>
<Agent ID="NWB0NL82" Type="Agency">
<FirstName>Iona</FirstName>
<LastName>Ford</LastName>
<Number>NWZ0NZ88</Number>
<Split>0</Split>
<EnrollerType>CallCenter</EnrollerType>
</Agent>
</Agents>
<Applicants>
<Applicant ID="010449" EmployeeID="010449">
<Address>
<Line1>8135 Brighton Early</Line1>
<City>McKinney</City>
<State>TX</State>
<Zip>75075</Zip>
</Address>
<PhoneHome>1231231234</PhoneHome>
<Email>aphelia@slavamail.com</Email>
<SSN>123-12-1234</SSN>
<FirstName>Aphelia</FirstName>
<LastName>Payne</LastName>
<Sex>Female</Sex>
<Employment>
<HireDate>2017-01-10T00:00:00</HireDate>
<EligibilityDate>2017-04-01T00:00:00</EligibilityDate>
<Title>Tuba Player</Title>
<Department>Symphonics</Department>
<Location>Uptown Center</Location>
<PayGroup>Biweekly</PayGroup>
<Salary>76543.00</Salary>
<HoursPerWeek>40</HoursPerWeek>
</Employment>
<LegalStatus>Employee</LegalStatus>
<Relationship>Employee</Relationship>
<BirthDate>1982-03-30T00:00:00</BirthDate>
<UserID>487662-89</UserID>
</Applicant>
<Applicant ID="780dcc7a-f6c2-4017-8109-317b48a4b3dd"
UniqueID="780dcc7a-f6c2-4017-8109-317b48a4b3dd" EmployeeID="010449">
<SSN>321-32-3210</SSN>
<FirstName>Moe</FirstName>
<MiddleInitial>R</MiddleInitial>
<LastName>Payne</LastName>
<Sex>Male</Sex>
<LegalStatus>Spouse</LegalStatus>
<Relationship>Spouse</Relationship>
<BirthDate>1977-02-01T00:00:00</BirthDate>
</Applicant>
<Applicant ID="7dda9e16-0b78-42e4-b26b-d867869fcce0"
UniqueID="7dda9e16-0b78-42e4-b26b-d867869fcce0" EmployeeID="010449">
<FirstName>Harley</FirstName>
<MiddleInitial>A</MiddleInitial>
<LastName>Payne</LastName>
<Sex>Male</Sex>
<LegalStatus>Child</LegalStatus>
<Relationship>Child</Relationship>
<BirthDate>2012-05-28T00:00:00</BirthDate>
</Applicant>
</Applicants>
</Transmittal>
</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="GroupNumber" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic">
<saml:AttributeValue>YourGroupIdentifier</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="EnrollerID" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic">
<saml:AttributeValue>NWB0NL82</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="SAMLReturnUrl" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic">
<saml:AttributeValue>https://www.YourReturnURL.com/SSOResponse.aspx?vendor=Selerix</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="KeepAliveURL" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic">
<saml:AttributeValue>http://YourKeepAliveURL.com/KeepAlive.aspx?SSOID=2112</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="KeepAliveTimeout" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic">
<saml:AttributeValue>3000</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="Welcome" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic">
<saml:AttributeValue>yes</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="PersonalInfo" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic">
<saml:AttributeValue>no</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="BenefitSnapshot" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic">
<saml:AttributeValue>no</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="Review" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic">
<saml:AttributeValue>yes</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="FirstPlan" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic">
<saml:AttributeValue>TMK_UL</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="Enroller" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic">
<saml:AttributeValue>no</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="TopMenu" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic">
<saml:AttributeValue>no</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="Sidebar" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic">
<saml:AttributeValue>no</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="HeaderAndFooter" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic">
<saml:AttributeValue>no</saml:AttributeValue>
</saml:Attribute>
</saml:AttributeStatement>
</saml:Assertion>
</samlp:Response>